package top.xtcoder.jdcbase.base.entity.system;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;

import top.xtcoder.jdcbase.base.entity.BaseEntity;

@Table("pb_file_chunk")
public class FileChunk extends BaseEntity {
    @Column(value = "chunk_number")
    private Integer chunkNumber;

    @Column(value = "chunk_size")
    private Float chunkSize;

    @Column(value = "current_chunk_size")
    private Float currentChunkSize;

    @Column(value = "total_chunk")
    private Integer totalChunks;

    @Column(value = "md5_identifier")
    private String md5Identifier;

    @Column(value = "file_name")
    private String fileName;

    @Column(value = "file_type")
    private String fileType;

    @Column(value = "relative_path")
    private String relativePath;

    public Integer getChunkNumber() {
        return chunkNumber;
    }

    public void setChunkNumber(Integer chunkNumber) {
        this.chunkNumber = chunkNumber;
    }

    public Float getChunkSize() {
        return chunkSize;
    }

    public void setChunkSize(Float chunkSize) {
        this.chunkSize = chunkSize;
    }

    public Float getCurrentChunkSize() {
        return currentChunkSize;
    }

    public void setCurrentChunkSize(Float currentChunkSize) {
        this.currentChunkSize = currentChunkSize;
    }

    public Integer getTotalChunks() {
        return totalChunks;
    }

    public void setTotalChunks(Integer totalChunks) {
        this.totalChunks = totalChunks;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getRelativePath() {
        return relativePath;
    }

    public void setRelativePath(String relativePath) {
        this.relativePath = relativePath;
    }

    public String getMd5Identifier() {
        return md5Identifier;
    }

    public void setMd5Identifier(String md5Identifier) {
        this.md5Identifier = md5Identifier;
    }
}
